import java.io.IOException;
import java.io.OutputStream;

public final class s extends OutputStream {

	private OutputStream b;
	public ae a;

	public s(OutputStream outputstream) {
		b = outputstream;
	}

	public final void close() throws IOException {
		b.close();
	}

	public final void flush() throws IOException {
		b.flush();
	}

	public final void write(byte abyte0[], int i, int j) throws IOException {
		if (a != null)
			a.a(abyte0, i, j);
		b.write(abyte0, i, j);
	}

	public final void write(int i) throws IOException {
		if (a != null) {
			b.write(a.a((byte) i));
		} else {
			b.write(i);
		}
	}
}